package com.guigu.common.mapper;


import com.guigu.common.pojo.SysRoles;
import com.guigu.lc.serach.RolesSerach;

import java.util.List;

public interface SysRolesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysRoles record);

    int insertSelective(SysRoles record);

    SysRoles selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysRoles record);

    int updateByPrimaryKey(SysRoles record);

    List<SysRoles> querroleByuserid(int id);

    List<SysRoles> queryallroles(RolesSerach rolesSerach);

    void insertrolesyszc(SysRoles sysRoles);
}